package JLB_Chapter_05;
// StringBuilderTest
public class code_05_38 {
    public static void main(String[] args) {
        StringBuilder sbd = new StringBuilder();
        sbd.append("我是StringBuilder类");
        System.out.println("追加字符串" + sbd);
        int length = sbd.length();
        System.out.println(length);
        sbd.insert(length - 1, "123456");
        System.out.println(sbd);
        sbd.delete(sbd.length() - 1, sbd.length());
        System.out.println(sbd);
        sbd.reverse();
        System.out.println(sbd);
    }
}
